<template>
  <div class="box flex-al al-start">
    <h3>{{title}}</h3>
    <div class="line-box flex-row al-c">
      <div class="left"></div>
      <div class="right"></div>
    </div>
  </div>
</template>
<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";

@Component
export default class NavBar extends Vue {

   @Prop({default: '标题'}) title!: string;

}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="less">
@import "~@/assets/less/flex.less";
@import "~@/assets/less/reset.less";
.box {
  width: 100%;
  margin-bottom: 35px;
  margin-top: 20px;
  .line-box{
        width: 100%;
        .left{
            width: 80px;
            height: 3px;
            background: #0050a5;
        }
        .right{
            width: calc(100% - 80px) ;
            height: 3px;
            background: #eee;
        }
    }
  h3 {
    font-size: 20px;
    color: #0050a5;
    .blod;
    margin-bottom: 15px;
    
  }
}
</style>
